<?php
require_once('include/generic/SugarWidgets/SugarWidgetSubPanelTopButtonQuickCreate.php');

class SugarWidgetSubPanelTopButtonQuickCreateMeeting extends SugarWidgetSubPanelTopButtonQuickCreate{
    function display($defines, $additionalFormFields = null){
        $additionalFormFields['parent_id'] = $defines['focus']->id;
        $additionalFormFields['parent_name'] = $defines['focus']->first_name.' '.$defines['focus']->last_name;
        $this->module='Meetings';
 	$this->form_value='Utwórz';
        return parent::display($defines, $additionalFormFields);

    }


}